package com.librelato.persistencia.interfaces;

import java.util.List;
import java.util.Map;

import com.librelato.bean.ChamadoBean;
import com.librelato.bean.UsuarioBean;

public interface IUsuarioDao<P extends UsuarioBean> extends IDaoGenerico<P> {
	
	P verLogin(P p) throws Exception;
	
	void trocarSenha(P p, String senhaNova) throws Exception;
	
	public List<P> buscaResponsaveis(String setor, P p) throws Exception;
	
	public List<String> buscaEmails(ChamadoBean chamado, String acaoUsuario) throws Exception;
	
	public List<P> buscaSolicitantesAtendidos(Map<String, Object> param) throws Exception;
	
	public List<P> buscaResponsaveisAtendidos(Map<String,Object> param) throws Exception;
	
	public List<P> buscaSolicitantesSetor(UsuarioBean usuario) throws Exception;
	
	public List<P> buscaUsuariosCadastrados(Map<String, String> param)
			throws Exception;
}
